from django.contrib.auth.mixins import LoginRequiredMixinfrom django.views import Viewclass LoginRequiredView(LoginRequiredMixin, View):    """当判断是否登录及重定向到login的类视图基类"""    pass